Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KAFKA-16750: Added acknowledge code in SharePartitionManager including unit tests #16457

Merged
merged 4 commits into from
Jul 2, 2024

Conversation

chirag-wadhwa5
Copy link
Contributor

About

This PR adds acknowledge code in SharePartitionManager. Internally, the record acknowledgements happen at the SharePartition level. SharePartitionManager identifies the SharePartitions and calls their acknowledge method to actually acknowledge the individual records

Testing

Added unit tests to cover the new functionality added in SharePartitionManagerTest

Copy link
Collaborator

@apoorvmittal10 apoorvmittal10 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR. Some comments and doubts I have.

Copy link
Collaborator

@apoorvmittal10 apoorvmittal10 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for cleaning the tests and addressing the comments. LGTM, just minor comments and pelase check if we can get rid of suppression.

checkstyle/suppressions.xml Show resolved Hide resolved
Copy link
Collaborator

@apoorvmittal10 apoorvmittal10 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Contributor

@omkreddy omkreddy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chirag-wadhwa5 Thanks for the PR. LGTM

@omkreddy omkreddy merged commit e55c28c into apache:trunk Jul 2, 2024
1 check was pending
chirag-wadhwa5 added a commit to chirag-wadhwa5/kafka that referenced this pull request Jul 3, 2024
…g unit tests (apache#16457)

About
This PR adds acknowledge code in SharePartitionManager. Internally, the record acknowledgements happen at the SharePartition level. SharePartitionManager identifies the SharePartitions and calls their acknowledge method to actually acknowledge the individual records

Testing
Added unit tests to cover the new functionality added in SharePartitionManagerTest

Reviewers: Apoorv Mittal <[email protected]>, Manikumar Reddy <[email protected]>
abhi-ksolves pushed a commit to ksolves/kafka that referenced this pull request Jul 31, 2024
…g unit tests (apache#16457)

About
This PR adds acknowledge code in SharePartitionManager. Internally, the record acknowledgements happen at the SharePartition level. SharePartitionManager identifies the SharePartitions and calls their acknowledge method to actually acknowledge the individual records

Testing
Added unit tests to cover the new functionality added in SharePartitionManagerTest

Reviewers: Apoorv Mittal <[email protected]>, Manikumar Reddy <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants